<template>
  <div class="container">
    <div class="top">
      <h4>{{ introducesData.title }}</h4>
    </div>
    <div class="bottom">
      <div
        class="introduce"
        v-for="item in introducesData.introduceData"
        :key="item.title"
      >
        <div class="img">
          <img :src="item.imgUrl" alt="img" />
        </div>
        <div class="title">
          <h4>{{ item.title }}</h4>
          <p>
            {{ item.content }}
          </p>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "HomeMainSecond",
  props: { introducesData: Object },
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.container {
  margin-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: #333;
  .top {
    margin-bottom: 50px;
    font-size: 50px;
    font-weight: 700;
  }
  .bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    .introduce {
      margin: 0 15px;
      display: flex;
      flex-direction: column;
      align-items: center;
      max-width: 400px;
      .img {
        width: 100%;
        height: auto;
      }
      .title {
        text-align: center;
        padding: 10px 10px;
        h4 {
          margin-bottom: 10px;
          font-size: 18px;
          font-weight: 700;
        }
        p {
          font-size: 15px;
        }
      }
    }
  }
}
</style>
